<template>
	<view class="pageContainer" :class="vi_pageSize">
		<vi-notify :top="topfix" ref="vi_notify"></vi-notify>
		<module-loading ref="vi_loading" :loading="vi_loading" :loadingMask="vi_loadingMask"></module-loading>
		<vi-headbar goback>
			<view slot="right">
				响应式
				<text class="response">开启</text>
				<text class="noresponse color-warning">关闭</text>
			</view>
			{{vi_pageTitle}}
		</vi-headbar>
		
		<view class="docTable">
			<view class="th">
				<view>属性名</view>
				<view>类型</view>
				<view>默认值</view>
				<view>描述</view>
			</view>
			<view class="tr">
				<view>value</view>
				<view>String, Number</view>
				<view>无</view>
				<view>初始值</view>
			</view>
			<view class="tr">
				<view>placeholder</view>
				<view>String</view>
				<view>无</view>
				<view>空值提示</view>
			</view>
			<view class="tr">
				<view>placeholderClass</view>
				<view>String</view>
				<view>无</view>
				<view>空值提示样式名</view>
			</view>
			<view class="tr">
				<view>disabled</view>
				<view>Boolean</view>
				<view>无</view>
				<view>禁用</view>
			</view>
			<view class="tr">
				<view>httpData</view>
				<view>Object</view>
				<view>无</view>
				<view>http请求数据，包括接口、参数、请求配置</view>
			</view>
			<view class="tr extra">
				<view class="body">
					<view>keys</view>
					<view>Object</view>
					<view></view>
					<view>数据关键字</view>
				</view>
				<view class="appendix">
					格式：{key:"关键字"}
					<view>http: nquest　http类型</view>
					<view>phone: phone　电话号码参数名</view>
				</view>
			</view>
			<view class="tr extra">
				<view class="body">
					<view>text</view>
					<view>Object</view>
					<view></view>
					<view>内部文字数据覆盖</view>
				</view>
				<view class="appendix">
					格式：{key:"文字"}
					<view>plcInputPhone: 请输入手机号　默认空值提示</view>
					<view>tipPhoneError: 请输入正确的手机号码　校验错误提示</view>
					<view>tipCodeSent: 验证码已发送　成功提示</view>
				</view>
			</view>
			<view class="tr">
				<view>@input</view>
				<view>事件</view>
				<view></view>
				<view>内容输入，提交当前内容</view>
			</view>
			<view class="tr">
				<view>@blur</view>
				<view>事件</view>
				<view></view>
				<view>失去焦点，提交当前内容</view>
			</view>
		</view>
		
		<view class="p-sm">
			<view class="py-sm">
				基本使用：{{'&lt;common-sendcode :httpData="http请求数据" :value="变量">&lt;/common-sendcode>'}}
				<view>
					使用refs调用组件的open方法打开
				</view>
			</view>
			<view class="p-md">
				<common-sendcode :httpData="httpData" :value="value"></common-sendcode>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value:"",
				httpData:{
					port:"sendcode",
					data:{}
				}
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.pageContainer{
	
}
</style>
